package main

import (
	"gitee.com/micro-plat/sas/sas/testserver/services"
	"github.com/micro-plat/hydra"
	"github.com/micro-plat/hydra/hydra/servers/http"
)

var App = hydra.NewApp(
	hydra.WithPlatName("sastest", "sas测试项目"),
	hydra.WithSystemName("sdktest", "sas测试项目api"),
	hydra.WithServerTypes(http.API),
	hydra.WithClusterName("prod"))

//init 检查应用程序配置文件，并根据配置初始化服务
func init() {

	install()

	App.API("/sastest/api", services.NewTestHandler)
}
